#!/usr/local/bin/python
# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url

urlpatterns = patterns('blog.views',
                       url(r'^index/$', 'index'),
                       url(r'^time/$', 'time'),#路由1
                       url(r'^foo/(\d{4})/(\w+)', 'foo'),#路由2
                       url(r'^bar/(?P<id>\d{4})/(?P<name>\w+)', 'foo'),#路由3,
                       url(r'^studentList/$','studentList')
                       )
